import request from './request.js';
let service = request.service;
let download = request.download;
export default {
    getPlanData(data) {
        return service({
            url: `/adscm/operation/cg/machineProcess/select`,
            method: 'post',
            data
        })
    },
    getBomPlan(makeNo){
        return service({
            url: `/adscm/operation/cg/cgBomAndDate/select/${makeNo}`,
            method: 'post'
        })
    },
    createCgPlan(data) {
        /**一键生成采购计划 */
        /**一键生成采购计划 */
         return service({
             url: `/adscm/operation/cg/machineProcess/createCgPlan`,
             method: 'post',
             data
         })
     }
}
